﻿using MediatR;
using SmartCity.BasicData.Api.DTOs;
using SmartCity.BasicData.ErrorCoce;

namespace SmartCity.BasicData.Api.Application.Command.Department
{
    public class GetDepartmentCommand:IRequest<ApiResult<List<DepartmentDto>>>
    {
        //递归查询所有部门,没有条件
        public long? ParentId { get; set; } = 0L;
    }
}
